|
poziția meniului |
---|
Draft → Ellipse |
Ateliere |
Draft, Arch |
scurtătură |
E L |
Prezentat în versiune |
- |
A se vedea, de asemenea, |
Draft Circle |
Instrumentul Ellipse creează o eliptsă în planul curent work plane introducând două puncte, definind colțul unei casete rectangulare în care se va potrivi elipsa. Este nevoie de linewidth and color setată anterior pe fila Activități.
A Draft Ellipse can be turned into an elliptical arc by setting its DateFirst Angle and DateLast Angle properties to different values.
See also: Draft Tray, Draft Snap and Draft Constrain.
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts (for version 1.0).
See also: Preferences Editor and Draft Preferences.
See also: Property editor.
A Draft Ellipse object is derived from a Part Part2DObject and inherits all its properties. It also has the following additional properties:
Draft
Draft
See also Draft Pattern page.
Instrumentul Ellipse poate fi folosit în macros și din consola python utilizând următoarea funcție:
To create a Draft Ellipse use the make_ellipse
method (introduced in version 0.19) of the Draft module. This method replaces the deprecated makeEllipse
method.
ellipse = make_ellipse(majradius, minradius, placement=None, face=True, support=None)
Exempluː
import FreeCAD as App
import Draft
doc = App.newDocument()
ellipse1 = Draft.make_ellipse(3000, 200)
ellipse2 = Draft.make_ellipse(700, 1000)
zaxis = App.Vector(0, 0, 1)
p3 = App.Vector(1000, 1000, 0)
place3 = App.Placement(p3, App.Rotation(zaxis, 90))
ellipse3 = Draft.make_ellipse(700, 1000, placement=place3)
doc.recompute()